//
//  gaojizhizhen.m
//  C9_高级指针
//
//  Created by dllo on 15/10/16.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "gaojizhizhen.h"


float distance(CPoint m, CPoint n)
{

    CPoint *p = &m;
    CPoint *q = &n;
    float d = 0;
    d = sqrtf(((q->x - p->x) * (q->x - p->x)) + ((q->y - p->y) * (q->y - p->y)));
    return d;
}

//void Bigletter(Student stu)
//{
//
//    Student *p = &stu;
//    p->name[0] -= 32;
//    printf("%s",p->name);
//
//}

